home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4495 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: nntp-xfer-2.csn.net!yuma!steffend
  2. From: steffend@lamar.colostate.edu (Dave Steffen)
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: Re: Performance: C vs. C++
  5. Followup-To: comp.lang.c++,comp.lang.c
  6. Date: 30 Jan 1996 17:23:01 GMT
  7. Organization: Colorado State University, Fort Collins, CO  80523
  8. Message-ID: <4elk5l$3f2q@yuma.ACNS.ColoState.EDU>
  9. References: <30F6BAAC.12B5@iastate.edu> <4da9pn$a45@news.bridge.net> <4dnpl2$c8g@classic.iinet.com.au> <3105E9DC.1BE3@enermet.fi> <DLr46y.7rH@txnews.amd.com>
  10. NNTP-Posting-Host: glitch.physics.colostate.edu
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Bret Patterson (faustus) wrote: (in part)
  14.  
  15. > The only thing of C++ that I know causes alot of overhead is
  16. > exceptions. But other forms of error checking are available and
  17. > exceptions can also be optimized/minimized.
  18.  
  19.     I believe that exceptions only produce overhead _if_ an
  20. exception is thrown; otherwise, there shouldn't be _any_ overhead.
  21.  
  22.     At least, this is what Stoustrup says _should_ be the
  23. case. Whether or not your compiler is up to the task is another
  24. matter. ;-)
  25.  
  26.                                  /\
  27.                                  \/
  28.  
  29. Dave Steffen                      No, his mind is not for rent
  30. Dept. of Physics                  To any God or Government
  31. Colorado State University         Always hopeful, yet discontent
  32. steffend@lamar.colostate edu      He knows changes aren't permanent-
  33.                       But change is...
  34. "Speak softly...                    
  35. ... and carry a black belt!"              -Neal Peart / RUSH
  36. -----------------------------------------------------------------------
  37.  
  38.  
  39.